<include file="Public:header" />

<!-- main -->
<div class="main of" id="data-bar" data-type="site" data-id="{$data['site']['info']['id']}">
     <div class="con">
          <!--广告-->
          <div class="ad mt20">
			<script type="text/javascript">
            /*hua_头部*/
            var cpro_id = "u1509689";
            </script>
            <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>   
          </div>

          <!--当前位置-->
          <div class="position">
               <div class="left">
                当前位置 : <a href="/">花卉网</a> > <a href="{$data['category']['info']['url']}">{$data['category']['info']['name']}</a> > <a href="{$data['site']['info']['url']}">{$data['site']['info']['name']}</a> > {$data['site']['info']['name']}图片
               </div>
               <div class="right">
                   <div class="xinlang">
                   
                   </div>
                   <div class="qq">
                   <iframe src="http://open.qzone.qq.com/like?url=http%3A%2F%2Fuser.qzone.qq.com%2F564069448&type=button_num&width=400&height=30&style=3" allowtransparency="true" scrolling="no" border="0" frameborder="0" style="width:400px;height:30px;border:none;overflow:hidden;"></iframe>
                   </div>
               </div>
          </div>

          <div class="mainleft">
              <!--资讯-->
              <div class="news fl mt10">
                   <div class="title"><h2>热门推荐</h2><span class="newsmore"></span></div>
                   <ul>
                       <volist name="data['article']['hot']['list']" id="val">
                       <li>
                           <div class="t"><a href="{$val['url']}" title="{$val['title']}">{$val['title']}</a></div>
                           <div class="ts">{:cut_str($val['text200'],35)}</div>
                       </li>
                       </volist>
                   </ul>
              </div>
    
              <!--广告-->
              <div class="boxad mt10">
                <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                <!-- hua_文章内容_左1 -->
                <ins class="adsbygoogle"
                     style="display:inline-block;width:250px;height:250px"
                     data-ad-client="ca-pub-3893983133159171"
                     data-ad-slot="1988500925"></ins>
                <script>
                (adsbygoogle = window.adsbygoogle || []).push({});
                </script>          
              </div>
    
              <!--猜你喜欢-->
              <div class="love mt10">
                   <div class="title"><h2>猜你喜欢</h2></div>
                   <ul>
                   <volist name="data['article']['love']['list']" id="val">
                       <li><a href="{$val['url']}" title="{$val['title']}">{:cut_str($val['title'],19)}</a></li>
                   </volist>
                   </ul>
              </div>
    
              <div class="clear"></div>
    
              <!--广告-->
              <div class="boxad mt10 hide">
        
              </div>

          </div>



          <div class="mainright">

               <ul class="bt">
                   <volist name="data['category']['list']" id="val">
                   <li><a href="{$val['url']}" <if condition="$data ['category'] ['info']['id'] eq $val['id']">class="hover"</if>>{$val['name']}</a></li>
				   </volist>
               </ul>

               <div class="imgadlist mt10">
                    
                      <img src="{:C('status_url')}/home/images/imgad03.jpg"/>
                      <div class="text">
                           <div class="textl">
                                <h2 class="title03">{$data['category']['info']['name']}</h2>
                                <div class="titles clearfix" title="{$data['category']['info']['intro']}">
                                    {$data['category']['info']['intro']}
                                </div>
                           </div>
                           <div class="textr" title="微信订阅号搜索：花卉信息网">
                                <div class="title">养花QQ群：<span>(微信：花卉信息网)</span></div>
                                <div class="titles">
                                     <div>1群:136225618</div>    
                                     <div class="textright">2群:166258639</div>
                                     <div>3群:173982946</div>
                                     <div class="textright">4群:173983036</div>  
                                </div>
                           </div>
                      </div>  
                 
               </div>

               <!--内容-->
               <div class="article mt20">
                    <h1 class="title">{$data['site']['info']['name']}图片</h1>
                    <div class="info">
						<div class="kspan">
                             <span class="num"><img src="{:C('status_url')}/home/images/bg01.jpg" />{$data['site']['info']['viewnum']} 人浏览</span>
                             <span class="data"><img src="{:C('status_url')}/home/images/bg02.jpg" />{$data['site']['info']['updatedata']} 最后更新</span>
                         </div>                    
						<div class="content">

				<div id="rg-gallery" class="rg-gallery">
					<div class="rg-thumbs">
						<!-- Elastislide Carousel Thumbnail Viewer -->
						<div class="es-carousel-wrapper">
							<div class="es-nav">
								<span class="es-nav-prev">上一页</span>
								<span class="es-nav-next">下一页</span>
							</div>
							<div class="es-carousel">
								<ul>
                                <volist name="data['site']['info']['photo']['itmes']" id="val">
									<li><a href="{:str_replace('_500_500','_150_150',$val)}"><img src="{:str_replace(array('_500_500','hua-img'),array('_150_150','hua-img1'),$val)}"  style="height:60px;" height="150" data-large="{$val}" alt="{$data['site']['info']['name']}" data-description="{$data['site']['info']['name']}图片" /></a></li>
                                </volist>
								</ul>
							</div>
						</div>
						<!-- End Elastislide Carousel Thumbnail Viewer -->
					</div><!-- rg-thumbs -->
				</div><!-- rg-gallery -->
                        

                         </div>
                    </div>
                    <div class="content">
                        <div class="hide">
                        <volist name="data['site']['info']['photo']['itmes']" id="val">
                        	<if condition="$key lt 3">
                        <img src="{$val}" title="{$data['site']['info']['name']}" alt="{$data['site']['info']['name']}图片{$key}"/>
                        	</if>
                        </volist>
                        </div>
                    
                    	{$data['site']['info']['intro']} [<a href="{$data['site']['info']['url']}" style="color:#316BCE;">{$data['site']['info']['name']}信息</a>]
                                                
                           <div align="center" style="margin:70px auto;">
                            <iframe src="http://open.qzone.qq.com/like?url=http%3A%2F%2Fuser.qzone.qq.com%2F564069448&type=button_num&width=400&height=30&style=3" allowtransparency="true" scrolling="no" border="0" frameborder="0" style=" width:110px;height:30px;border:none;overflow:hidden;"></iframe>
                            <img src="{:C('status_url')}/home/images/wechat_card.png" alt="微信订阅号：花卉信息网" border="0" />
                           </div>
                            

                        <div align="center">
                            <script type="text/javascript">
                            /*hua_文章内容_正文*/
                            var cpro_id = "u1509698";
                            </script>
                            <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>                            
                        </div>
                    
                    </div>
               </div>
     
               <div class="lovebt">

                    <div align="center"><div class="bdlikebutton"></div>
					<script id="bdlike_shell"></script><script>
					            var bdShare_config = {
									"type":"large",
									"color":"green",
									"uid":"185388",
									"share":"yes"
								};
								document.getElementById("bdlike_shell").src="http://bdimg.share.baidu.com/static/js/like_shell.js?t=" + Math.ceil(new Date()/3600000);
								</script></div>


               </div>
               <div class="clear"></div>

               <!--猜你喜欢-->
               <div class="youlove" style="min-height:150px;">
                	<script>document.write(unescape('%3Cdiv id="hm_t_31191"%3E%3C/div%3E%3Cscript charset="utf-8" src="http://crs.baidu.com/t.js?siteId=ad980f0e0af39ca0f1ad2b05938905e2&planId=31191&async=0&referer=') + encodeURIComponent(document.referrer) + '&title=' + encodeURIComponent(document.title) + '&rnd=' + (+new Date) + unescape('"%3E%3C/script%3E'));</script>                                  
                    <div class="title hide">推荐花卉</div>
                    <ul>
                    <volist name="data['site']['top']['list']" id="val">
                        <li>
                          <a href="{$val['url']}" title="{$val['name']}"><img src="{$val['thumb150']}" alt="{$val['name']}" /><span></span><div class="text">{$val['name']}</div></a>
                        </li>
                    </volist>
                    </ul>
               </div>

               <!--评论区域-->
               <div class="pl mt10 home-comment-list">
                    <div class="title">共 {:count($data['comment']['list'])} 条评论</div>
                    <ul>
                    <volist name="data['comment']['list']" id="val" empty='暂无评论'>
                        <li>
                            <div class="left"><img src="{$val['avatar']}" width="50" height="50" /></div>
                            <div class="right">
                                 <div class="info">
                                      <div class="name">{$val['username']}</div>
                                      <div class="time">{$val['createtime']}</div>
                                 </div>
                                 <div class="content">
                                      {$val['text200']}
                                 </div>
                            </div>
                        </li>
                    </volist>
                    </ul>
                    <if condition="$data['comment']['next_page']"><p data-page="{$data['comment']['next_page']}" class="home-comment-nextbtn"><a href="javascript:" onclick="getComment({:intval($data['site']['info']['id'])},'site')">下一页</a></p></if>
               </div>

               <!--转载区域-->
               <div class="zz mt20">

                    <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a title="分享到QQ空间" href="#" class="bds_qzone" data-cmd="qzone"></a><a title="分享到新浪微博" href="#" class="bds_tsina" data-cmd="tsina"></a><a title="分享到腾讯微博" href="#" class="bds_tqq" data-cmd="tqq"></a><a title="分享到人人网" href="#" class="bds_renren" data-cmd="renren"></a><a title="分享到微信" href="#" class="bds_weixin" data-cmd="weixin"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>

               </div>
               <div class="clear"></div>

               <!--评论text-->
               <div class="pltext mt10 home-comment-form">
                      <textarea name="context" id="textarea" class="pltextarea" cols="45" rows="5" <if condition="!get_cookie('uid')"></if> ></textarea>
                      <input type="hidden" name="obj_type" value="site" />
                      <input type="hidden" name="obj_id" value="{$data['site']['info']['id']}" />
                      <span style="color:red;"></span><input type="button" class="plbt home-comment-btn" />
               </div>
               <div class="clear"></div>

          </div>




     </div>
</div>

<script>
$('document').ready(function(){
	 addView();
	 
	//猜你喜欢固
	var loveOjb = $('.mainleft .love');
	var newsObj = $('.mainleft .news');
	var loveTop = loveOjb.offset().top;
	$(window).bind("scroll", function(){ 
		newsLeft = newsObj.offset().left;
		position = $(window).scrollTop();  
		loveOjb.attr('aattt',position);
		if(position>loveTop){
			loveOjb.css({'top':'42px','left':newsLeft,'position': 'fixed','background':'#fff'});
		}else{
			loveOjb.css({'top':'','left':newsLeft,'position': '','background':'#fff'});
		}
	});	 
	 
})
</script>
<link rel="stylesheet" type="text/css" href="{:C('status_url')}/photo/css/style.css" />
<link rel="stylesheet" type="text/css" href="{:C('status_url')}/photo/css/elastislide.css" />
<script type="text/javascript" src="{:C('status_url')}/photo/js/jquery.tmpl.min.js"></script>
<script type="text/javascript" src="{:C('status_url')}/photo/js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="{:C('status_url')}/photo/js/jquery.elastislide.js"></script>
<script type="text/javascript" src="{:C('status_url')}/photo/js/gallery.js"></script>
<script id="img-wrapper-tmpl" type="text/x-jquery-tmpl">	
	<div class="rg-image-wrapper">
		{{if itemsCount > 1}}
			<div class="rg-image-nav">
				<a href="#" class="rg-image-nav-prev">上一张</a>
				<a href="#" class="rg-image-nav-next">下一张</a>
			</div>
		{{/if}}
		<div class="rg-image"></div>
		<div class="rg-loading"></div>
		<div class="rg-caption-wrapper">
			<div class="rg-caption" style="display:none;">
				<p></p>
			</div>
		</div>
	</div>
</script>
<style>
	.es-carousel ul{
		display:block;
	}
</style>

<include file="Public:footer" />
